<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>处理用户输入</title>
</head>

<body>
   <div id="app">
       <ol>
           <todo-item></todo-item>
       </ol>
   </div>
    <script src="../node_modules/vue/dist/vue.min.js"></script>
    <script>
       Vue.component('todo-item', {
           template: '<li>这是个待办项</li>'
       })
       var app = new Vue({
            el: '#app',
       })
    </script>
</body>

</html>